package dao;

import java.util.List;

import vo.PetObject;

public interface DAO<E> {
    //增加
     void add(PetObject hero);
    //修改
     void update(PetObject hero);
    //删除
     void delete(String id,String name);
    //获取
    PetObject get(String id);
    PetObject getU(String username);
    //查询
     List<PetObject> list();
    //分页查询
     List<PetObject> list(int start, int count);
     
     void deleteQuery(String ids,String name);
}
